Subject: ScrollerWindow source in alt.sources.amiga
From: [email-masked] (Christoph Feck IRZ)
Date: Thu, 26 May 1994 22:31:46 GMT
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc,comp.sys.amiga.advocacy

There has been recently a discussion in csa.advocacy (and
csa.misc) about the look of Intuitions window borders and
gadgets.  People complained about the 'squished' look in
interlaced modes (or other highres modes with 1:1 aspect).

Indeed this is a problem that needs to be addressed in a
future OS release.  There is, however, a hack on aminet,
which hacks around with Intuition and makes the sizegadget
and the horizontal WB scrollers look 'right' in those 1:1
modes without requiring a new OS.

Sadly enough, only a few programs work right with this
hack, because it assumes that the programs do the 'right'
thing, and ask the OS about the dimensions of the sizing
and arrow images.  Instead, these programs insist on using
hardcoded values (Workbench 2.0 itself is such a bad guy,
but Workbench 3.0 and MultiView seem to work perfectly
well with this hack).

Creating a complete size adaptive layout is not as simple
as using hardcoded values.  That is understood.  Because
of this, I have released an example program in alt.sources
.amiga, which performs this task (written in C).  It adds
the four arrow gadgets and uses BOOPSI, too.

It also should answer the very often asked question of how
to create 'those Workbench 3d sliders', because it isn't
possible e.g. with gadtools, and needs some knowledge about
Intuitions gadget relativity flags.

May this program help developers upgrading their programs
to handle gadgetsize sensitive window layout.  I will also
put it on Aminet, for those who can't access the alt groups
(should show up in dev/src).

Have fun,
Christoph

3k// Christoph Feck, TowerSystems - BOOPSI Class Development
\X/ Amiga - Intuition inside.